(display_string, display_text_line): Allow tab_width up to 1000.
authorRichard M. Stallman <rms@gnu.org>
Tue, 23 Mar 1993 00:54:20 +0000 (00:54 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 23 Mar 1993 00:54:20 +0000 (00:54 +0000)
src/xdisp.c

index 5308e9d217bc07eab5c7e85c363090acd418d888..e4770e4068fe6589cba98befa01ad12d880930fa 100644 (file)
@@ -1579,7 +1579,7 @@ display_text_line (w, start, vpos, hpos, taboffset)
 
   hpos += XFASTINT (w->left);
   get_display_line (f, vpos, XFASTINT (w->left));
-  if (tab_width <= 0 || tab_width > 20) tab_width = 8;
+  if (tab_width <= 0 || tab_width > 1000) tab_width = 8;
 
   if (MINI_WINDOW_P (w) && start == 1
       && vpos == XFASTINT (w->top))
@@ -2476,7 +2476,7 @@ display_string (w, vpos, string, hpos, truncate, mincol, maxcol)
       && XVECTOR (Vstandard_display_table)->size == DISP_TABLE_SIZE)
     dp = XVECTOR (Vstandard_display_table);
 
-  if (tab_width <= 0 || tab_width > 20) tab_width = 8;
+  if (tab_width <= 0 || tab_width > 1000) tab_width = 8;
 
   p1 = p1start;
   start = desired_glyphs->glyphs[vpos] + XFASTINT (w->left);